<template>
  <!-- 二维吗登录 -->
  <div class="erwei">
    <h1 class="title">微信扫码登录</h1>
    <div class="img">
      <!-- v-loading="true" -->
      <img src="@/img/二维码.png" alt="" width="200px" />
      <i class="mask"></i>
    </div>
    <p>
      <!-- <svg aria-hidden="true" class="icon-wx">
        <use></use>
      </svg> -->
      <b>扫描二维码</b>
    </p>
  </div>
</template>
<style scoped lang="less">
.erwei {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 10px 1px white;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 10px;
  width: 460px;
  padding: 20px;
  height: 400px;
  overflow: hidden;
  background-color: rgba(17, 16, 16, 0.1);
}
.img {
  height: 200px;
  width: 200px;
  margin-bottom: 20px;
}
b {
  font-size: 16px;
  color: white;
}
h1 {
  color: white;
}

.title {
  width: 100%;
  text-align: center;
  font-size: 26px;
  position: relative;
  color: white;
  margin-bottom: 30px;
  margin-top: 20px;
}
.title::before {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 0px;
  height: 3px;
  background-color: white;
  transition: 0.5s;
}
.title:hover:before {
  width: 156px;
}
</style>
